<form action="{$searchAction}" method="post">
    <fieldset>
        <label>Filtrar Cursos</label>
        <p>
            Se&ntilde;ale una o m&aacute;s caracter&iacute;sticas para buscar un
            curso.
        </p>
        <dl>
            <label>Por Nombre</label>
            <div>
                <input type="text" value="{if isset($filtros.Name)}{$filtros.Name}{/if}" class="medium" name="CoursesFilters[Name]" />                  
            </div>
        </dl>
        <dl>
            <label>Por D&iacute;as de la semana</label>
            <div>
                <ul id="dias">
                    <li>
                        <input name="CoursesFilters[Days][]" type="checkbox" value="1" id="Lunes" {if isset($filtros.Days) and in_array("1", $filtros.Days)}checked="checked"{/if}/> 
                        <label for="Lunes"> Lunes</label>
                    </li>
                    <li>
                        <input name="CoursesFilters[Days][]" type="checkbox" value="2" id="Martes" {if isset($filtros.Days) and in_array("2", $filtros.Days)}checked="checked"{/if}/> 
                        <label for="Martes"> Martes</label>
                    </li>
                    <li>
                        <input name="CoursesFilters[Days][]" type="checkbox" value="3" id="Miercoles" {if isset($filtros.Days) and in_array("3", $filtros.Days)}checked="checked"{/if}/> 
                        <label for="Miercoles"> Miercoles</label>
                    </li>
                    <li>
                        <input name="CoursesFilters[Days][]" type="checkbox" value="4" id="Jueves" {if isset($filtros.Days) and in_array("4", $filtros.Days)}checked="checked"{/if}/>
                        <label for="Jueves"> Jueves</label>
                    </li>
                    <li>
                        <input name="CoursesFilters[Days][]" type="checkbox" value="5" id="Viernes" {if isset($filtros.Days) and in_array("5", $filtros.Days)}checked="checked"{/if}/>
                        <label for="Viernes"> Viernes</label>
                    </li>
                    <li>
                        <input name="CoursesFilters[Days][]" type="checkbox" value="6" id="Sabado" {if isset($filtros.Days) and in_array("6", $filtros.Days)}checked="checked"{/if}/>
                        <label for="Sabado"> Sabado</label>
                    </li>
                </ul>
            </div>
        </dl>
        <dl>
            <label>Por Docente</label>
            <div>
                <input type="text" value="{if isset($filtros.Teacher)}{$filtros.Teacher}{/if}" class="medium" name="CoursesFilters[Teacher]" />     
            </div>
        </dl>

        <dl>
            <div>
                <button class="busqueda-submit i_plus icon small" type="submit">Buscar</button>
                <button class="busqueda-reset i_exclamation icon small" type="reset">Limpiar formulario</button>
            </div>
        </dl>
    </fieldset>
</form>